//
//  YZSHTTPRequestOperationManager.h
//  YZStock
//
//  Created by fenchol on 15/9/1.
//  Copyright (c) 2015年 cqjr. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "AFNetworking.h"

@interface YZHTTPRequestOperationManager : AFHTTPSessionManager

- (NSURLSessionDataTask *)cq_noCachePOST:(NSString *)URLString parameters:(id)parameters success:(void (^)(NSURLSessionDataTask *task, id responseObject))success failure:(void (^)(NSURLSessionDataTask *task, NSError *error))failure;

- (NSURLSessionDataTask *)cq_noCacheGET:(NSString *)URLString parameters:(id)parameters success:(void (^)(NSURLSessionDataTask *, id))success failure:(void (^)(NSURLSessionDataTask *, NSError *))failure;

- (NSURLSessionDataTask *)cq_noCachePOSTData:(NSString *)URLString parameters:(id)parameters constructingBodyWithBlock:(void (^)(id <AFMultipartFormData> formData))block success:(void (^)(NSURLSessionDataTask *, id))success failure:(void (^)(NSURLSessionDataTask *, NSError *))failure;

- (NSURLSessionDownloadTask *)cq_noCacheDownload:(NSString *)URLString filepath:(NSString*)filepath parameters:(id)parameters success:(void (^)(NSURLSessionDownloadTask *, id))success failure:(void (^)(NSURLSessionDownloadTask *, NSError *))failure;

@end
